package com.woniu.microworkorderserver.workadminmag.service;

import com.woniu.microcommonsserver.entity.WorkListInfoEntity;

import java.util.List;

public interface WorDispatchService {


    //根据传的状态参数来确定返回的值 待审 已接单 待派 进行中 复核中 完成
    List<WorkListInfoEntity> findAll(String status);


    int updateFishedAccept(int id);

    int allowWork(int id);

    int rejectWork(int id);

    int insertRepair(WorkListInfoEntity workListInfoEntity);

    int saveInsert(WorkListInfoEntity workListInfoEntity);


    int stopingById(int id);
}
